<h3>Manage Lists</h3>
<p>Lists let you stored structured data such as your favourite bands, books, and movies.</p>

<!-- IF $_IS_MOBILE -->
<ul class="list">
<!-- BEGIN list_list -->
<li class="list-item">
    <p>
        <a href="{list_list.U_VIEW}">{list_list.TITLE}</a>
    </p>
    <span class="action delete"><a href="{list_list.U_DELETE}">{L_DELETE}</a></span>
    <span class="action edit"><a href="{list_list.U_EDIT}">{L_EDIT}</a></span>
    <span class="action permissions"><a href="{list_list.U_EDIT_PERMISSIONS}">{L_PRIVACY}</a></span>
</li>
<!-- END list_list -->
</ul>
<!-- ENDIF -->
<!-- IF NOT $_IS_MOBILE -->
<table style="width: 100%">
<tr>
	<th>List Title</th>
	<th>List Type</th>
	<th>List Items</th>
	<th></th>
	<th></th>
    <th></th>
	<th></th>
</tr>
<!-- BEGIN list_list -->
<!-- IF list_list.$_INDEX_EVEN -->
<tr class="even">
<!-- ELSE -->
<tr class="odd">
<!-- ENDIF -->
	<td>{list_list.TITLE}</td>
	<td>{list_list.TYPE}</td>
	<td>{list_list.ITEMS}</td>
	<td><a href="{list_list.U_VIEW}">{L_VIEW}</a></td>
	<td><a href="{list_list.U_EDIT}">{L_EDIT}</a></td>
  <td><a href="{list_list.U_PERMISSIONS}"><img src="/images/permissions.png" alt="{L_EDIT_PERMISSIONS}" title="{L_EDIT_PERMISSIONS}"/></a></td>
	<td><a href="{list_list.U_DELETE}"><img src="/images/delete.png" alt="{L_DELETE}" title="{L_DELETE}"/></a></td>
</tr>
<!-- END list_list -->
</table>
<!-- ENDIF -->

<h4>Add List</h4>
<p>Add a new list, you can store lists of all kinds of information such as favourite bands, tracks, CDs you own, or your collection of postage stamps.</p>
<form action="{S_ACCOUNT}" method="post">
	<fieldset>
		<legend>Add List</legend>
		<dl>
			<dt><label for="title">List Title</label></dt>
			<dd><input type="text" id="title" name="title" value="{LIST_TITLE}" /></dd>
			<dt><label for="type">List Type</label></dt>
			<dd>{S_LIST_TYPES}</dd>
			<dt><label for="abstract">List Abstract</label></dt>
			<dd>
				<textarea id="abstract" name="abstract" style="margin: 0px; width: 100%; height: 50px;" cols="70" rows="4">{S_ABSTRACT}</textarea>
			</dd>
			<dt><label>List Permissions</label></dt>
			<dd>
				{S_LIST_PERMS}
			</dd>
			<dt></dt>
			<dd><input type="submit" name="save" value="Save" /></dd>
		</dl>
		<input type="hidden" name="module" value="pages" />
		<input type="hidden" name="sub" value="lists" />
	</fieldset>
</form>